5d49f4ad5dc6800a33c1c324ed31ed13580e8fac,src/main/java/openperipheral/integration/appeng/AdapterNetwork.java,AdapterNetwork,getAvailableItems,#Object#,30
Before Change
public List<ItemStack> getAvailableItems(Object tileEntityController) {
IStorageGrid storageGrid = getStorageGrid(tileEntityController);
List<ItemStack> items = Lists.newArrayList();
for (IAEItemStack iaeItemStack : storageGrid.getItemInventory().getStorageList()) {
items.add(NBTHashMetaProvider.convertStacks(iaeItemStack));
}
After Change
@LuaCallable(description = "Get a list of the stored and craftable items in the network.", returnTypes = LuaReturnType.TABLE)
public List<IAEItemStack> getAvailableItems(IGridHost host) {
IStorageGrid storageGrid = getStorageGrid(host);
return Lists.newArrayList(storageGrid.getItemInventory().getStorageList());
}
@LuaCallable(description = "Retrieves details about the specified item from the ME Network.", returnTypes = LuaReturnType.TABLE)